package com.itheima.Pojo;

import java.io.Serializable;

/**
 * @Description 
 * @author PianZhu
 * @date 2025/03/17
 */
public class Punishment implements Serializable {
	/* 记录号，主键，唯一标识一条处分记录 */
	private Integer recordId;

	/* id，外键，关联到学生表的id */
	private Integer studentId;

	/* id，外键，关联到教师表的id,处分处理者 */
	private Integer teacherId;

	/* id，外键，关联到处罚项目表 */
	private Integer penaltyItemId;

	/* 记录处分的时间 */
	private String recordTime;

	/* 处分的审核状态->已提交，已审核（通过/未通过) */
	private String reviewStatus;

	/* 处分的详细描述 */
	private String description;

	public void setRecordId(Integer recordId){
		this.recordId = recordId;
	}
	public Integer getRecordId(){
		return recordId;
	}

	public void setStudentId(Integer studentId){
		this.studentId = studentId;
	}
	public Integer getStudentId(){
		return studentId;
	}

	public void setTeacherId(Integer teacherId){
		this.teacherId = teacherId;
	}
	public Integer getTeacherId(){
		return teacherId;
	}

	public void setPenaltyItemId(Integer penaltyItemId){
		this.penaltyItemId = penaltyItemId;
	}
	public Integer getPenaltyItemId(){
		return penaltyItemId;
	}

	public void setRecordTime(String recordTime){
		this.recordTime = recordTime;
	}
	public String getRecordTime(){
		return recordTime;
	}

	public void setReviewStatus(String reviewStatus){
		this.reviewStatus = reviewStatus;
	}
	public String getReviewStatus(){
		return reviewStatus;
	}

	public void setDescription(String description){
		this.description = description;
	}
	public String getDescription(){
		return description;
	}

	@Override
	public String toString() {
		return "记录号-主键-唯一标识一条处分记录: " + recordId + "," + "id-外键-关联到学生表的id: " + studentId + "," + "id-外键-关联到教师表的id-处分处理者: " + teacherId + "," + "id-外键-关联到处罚项目表 " + penaltyItemId + "," + "记录处分的时间: " + recordTime + "," + "处分的审核状态->已提交 " + reviewStatus + "," + "处分的详细描述: " + description;
	}
}